package apirouter

import (
	"slgw_web/api"

	"openzbox.com/frame/echo"
)

func InitLogRouter(group *echo.Group) {
	router := group.Group("/Log")

	router.GET("/GetErrorLog", api.GetErrorLog)        //, middleware.AuthMiddleware()
	router.POST("/DeleteErrorLog", api.DeleteErrorLog) //清空日志
	router.GET("/GetRTULog", api.GetRTULog)            //, middleware.AuthMiddleware()
	router.POST("/DeleteRTULog", api.DeleteRTULog)     //清空日志

}
